package com.landliu.idea.plugin.cgpt.model.po;

/**
 * @author Liu XiaoJun
 * @since 2025-06-04
 */
public class Column {

    private String comment;
    private String name;
    private int type;
    private String dataType;
    private boolean id;

    private String isNullLable;

    public Column(String comment, String name, int type, String dataType, String isNullLable) {
        this.comment = comment;
        this.name = name;
        this.type = type;
        this.dataType = dataType;
        this.isNullLable = isNullLable;
    }

    public String getName() {
        return name;
    }

    public String getComment() {
        return comment;
    }

    public boolean isId() {
        return id;
    }

    public String getIsNullLable() {
        return isNullLable;
    }

    public int getType() {
        return type;
    }

    public String getDataType() {
        return dataType;
    }

    public void setId(boolean id) {
        this.id = id;
    }

}
